package br.com.skytef.entity;

import java.util.ArrayList;
import java.util.List;

public class MessageEntity {
	private int type;
	private List<String> title;	
	private List<String> header;
	private List<String> body;
	private List<String> footer;
	private List<String> smallTitle;

	public MessageEntity(){
		type = 0;
		title = new ArrayList<String>();
		header = new ArrayList<String>();
		body = new ArrayList<String>();
		footer = new ArrayList<String>();
		smallTitle = new ArrayList<String>();
	}
	
	/*
	 * Limpar
	 */
	
	public void clear(){
		type = 0;
		title = new ArrayList<String>();
		header = new ArrayList<String>();
		body = new ArrayList<String>();
		footer = new ArrayList<String>();
		smallTitle = new ArrayList<String>();
	}
	
	public void clearTitle(){
		title = new ArrayList<String>();
	}
	
	public void clearHeader(){
		header = new ArrayList<String>();
	}
	
	public void clearBody(){
		body = new ArrayList<String>();
	}
	
	public void clearFooter(){
		footer = new ArrayList<String>();
	}

	public void setTitle(String title) {
		this.title.add(title);
	}

	public void setHeader(String header) {
		this.header.add(header);
	}
	
	public void setSmallTitle(String Smalltitle) {
		this.smallTitle.add(Smalltitle);
	}

	/*
	 * Set Linha
	 */
	
	public void setBody(String body) {
		this.body.add(body);
	}

	public void setFooter(String footer) {
		this.footer.add(footer);
	}	
	
	/*
	 * Setters e getters
	 */
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public List<String> getTitle() {
		return title;
	}

	public void setTitle(List<String> title) {
		this.title = title;
	}

	public List<String> getHeader() {
		return header;
	}

	public void setHeader(List<String> header) {
		this.header = header;
	}

	public List<String> getBody() {
		return body;
	}

	public void setBody(List<String> body) {
		this.body = body;
	}

	public List<String> getFooter() {
		return footer;
	}

	public void setFooter(List<String> footer) {
		this.footer = footer;
	}

	public List<String> getSmallTitle() {
		return smallTitle;
	}

	public void setSmallTitle(List<String> smallTitle) {
		this.smallTitle = smallTitle;
	}	
}
